def register_filter(app):
    @app.template_filter('strftime')
    def datetime_strftime(time):
        return '不能为{}'.format(time)
